package variabilitysmelldetection.measurement.measures;

import java.util.List;

import variabilitysmelldetection.measurement.models.ComponentItem;


public abstract class Measure {
	private String name;
	private String acronym;
	private double value;
	private String description;
	
	public Measure(String name, String acronym){
		this.name = name;
		this.acronym = acronym;
	}

	public Measure(String name, String acronym, String description){
		this(name, acronym);
		this.description = description;
	}
	
	public Measure(String name, String acronym, double value){
		this(name, acronym);
		this.value = value;
	}
	
	public String getName(){
		return name;
	}
	
	public String getAcronym(){
		return acronym;
	}

	public String getDescription(){
		return description;
	}
	
	public double getValue(){
		return value;
	}
	
	public void setValue(double value){
		this.value = value;
	}
	
	public abstract void measure(List<ComponentItem> classes);
	
}
